package yhao.infra.feature.qiniu.oss.core.response;

import com.qiniu.http.Response;

public class QiniuUploadResponse extends QiniuBaseResponse {
    private String url;         //上传文件的http地址，文件没有该地址
    private String fileName;    //文件名
    private String hash;        //文件hash
    private String originalFileName;
    private long fileSize;      //文件尺寸

    public QiniuUploadResponse(Response response) {
        super(response);
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public String getOriginalFileName() {
        return originalFileName;
    }

    public void setOriginalFileName(String originalFileName) {
        this.originalFileName = originalFileName;
    }

    public long getFileSize() {
        return fileSize;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }
}
